package com.jrowny.commands
{
	import com.jrowny.proxy.ElementProxy;
	
	import mx.collections.ArrayCollection;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	public class ImageLoadedCommand extends SimpleCommand
	{
		override public function execute(notification:INotification):void{
			var elmProxy:ElementProxy = facade.retrieveProxy(ElementProxy.NAME) as ElementProxy;
			elmProxy.elmMap = new Object();
			elmProxy.elements.removeAll();
		}
	}
}